package com.zzb.myshowme.utils;

import android.content.Context;

import java.io.File;

/**
 * Created by Administrator on 2016/10/17.
 */
public class FileUtils {
    /**
     * 根据文件的绝对路径判断文件是否存在
     */
    public static boolean isExistDataCache(Context cxt, String file)
    {
        boolean exist = false;
        File data = cxt.getFileStreamPath(file);
        if(data.exists())
            exist = true;

        return exist;
    }
}
